package org.itboys.trade.entity;

import org.itboys.mongodb.entity.BaseLongIdEntity;

import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Indexed;

@Entity(value = "PrePay", noClassnameStored = true)
public class PrePay extends BaseLongIdEntity{

	private static final long serialVersionUID = 7538000568591269662L;
	public static final int status_create=0;
	public static final int status_success=1;
	@Indexed
	private Long orderId;
	@Indexed 
	private String prepayNo;
	private String orderType;
	private Long memberId;
	private int amount;
	private String thirdTradeNo;
	private int status=status_create;
	private Integer payType;
	public String getPrepayNo() {
		return prepayNo;
	}
	public void setPrepayNo(String prepayNo) {
		this.prepayNo = prepayNo;
	}
	public Long getMemberId() {
		return memberId;
	}
	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}
	public Long getOrderId() {
		return orderId;
	}
	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}
	public int getAmount() {
		return amount;
	}
	public void setAmount(int amount) {
		this.amount = amount;
	}
	public String getThirdTradeNo() {
		return thirdTradeNo;
	}
	public void setThirdTradeNo(String thirdTradeNo) {
		this.thirdTradeNo = thirdTradeNo;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getOrderType() {
		return orderType;
	}
	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}
	public Integer getPayType() {
		return payType;
	}
	public void setPayType(Integer payType) {
		this.payType = payType;
	}
	
}
